<?php
/**
 * @package Application_Controller
 * @author Cezar Zaleski e Reginaldo Júnior
 * @version 1.0.0
 */

/**
 * @namespace
 */
namespace Application\Controller\Perfil;
/**
 * @uses Zend\Mvc\Controller\AbstractActionController
 * @uses Zend\View\Model\ViewModel
 */
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
/**
 * Objeto de controle de autenticação de usuário
 */
class PerfilController extends AbstractActionController
{
	/**
	 * Método para logar o usuário
	 *
	 * @access public
	 * @return Zend\View\Model\ViewModel
	 */
    public function indexAction()
    {
    	$vielModel = new ViewModel(array('form' => 'teste'));
    	return $vielModel->setTemplate("layout");
    }
    
    public function listarAction()
    {
    	$vielModel = new ViewModel(array('form' => 'teste'));
    	return $vielModel->setTerminal(false);
    }
    
    public function cadastrarAction()
    {
    	
    	$vielModel = new ViewModel(array('form' => 'teste'));
    	return $vielModel->setTerminal(false);
    }
}
